#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include "ctrl_prog.h"
#include <QString>
#include <qstring.h>
#include "mythread.h"


QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
    Ctrl_prog *ctrl_prog;
    Mythread *mythread;

private slots:
    void on_led_r_clicked(bool checked);

    void on_led_g_clicked(bool checked);

    void on_led_b_clicked(bool checked);

    void on_beep_clicked(bool checked);

    void adc_data_slot(QString str);

private:
    Ui::Widget *ui;
};
#endif // WIDGET_H





